package com.epsoft.odin7cj.flow.example;

import org.activiti.engine.delegate.BpmnError;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;

public class C10CountDelegate implements JavaDelegate {

	@Override
	public void execute(DelegateExecution execution) {
		
		System.out.println("\n 主流程抛出错误....");
		
		throw new BpmnError("bruceTestErrorName");
		
	}

}
